package com.dk.springmvc.restful.dao;

import com.dk.springmvc.restful.entity.Emp;

import java.util.List;

public interface EmpDao {
    List<Emp> queryAllEmp();

    Emp queryEmp(Integer empId);

    void insertEmp(Emp emp);

    void updateEmp(Emp emp);

    void deleteEmp(Integer empId);
}
